package com.itheima.tlias84.dao.mapper;

import com.itheima.tlias84.controller.po.SelectLogPageParam;
import com.itheima.tlias84.dao.entity.Log;
import com.itheima.tlias84.service.dto.SelectLogDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogMapper {

    int insertLog(@Param("l") Log log);

    List<SelectLogDTO> selectLogPage(@Param("p") SelectLogPageParam param);

}
